Apache2 downloads .pl file instead of executes it
Apache2 downloads .pl file instead of executes it
am 26.09.2009 04:57:51 von Matt_Pettis
--0016367d595afbbab60474723a83
Content-Type: text/plain; charset=ISO-8859-1
Hi,
Newbie here -- my Apache2 install is downloading the .pl script I have
instead of executing it as a CGI. How do I make it work as a CGI?
As a secondary note -- is there a really good resource to understand how the
apache conf files work? I see the apache documentation, but am having
trouble getting some documentation on the big picture, answering questions
like how to read and understand the conf file, what the general format is,
and what is meant when things have 'allow,deny', etc. in them?
Thanks,
Matt
--0016367d595afbbab60474723a83
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
Newbie here -- my Apache2 install is downloading the .p=
l script I have instead of executing it as a CGI. =A0How do I make it work =
as a CGI?
As a secondary note -- is there a really=
good resource to understand how the apache conf files work? =A0I see the a=
pache documentation, but am having trouble getting some documentation on th=
e big picture, answering questions like how to read and understand the conf=
file, what the general format is, and what is meant when things have '=
allow,deny', etc. in them?
Thanks,
Matt
--0016367d595afbbab60474723a83--
Re: Apache2 downloads .pl file instead of executes it
am 28.09.2009 05:04:48 von Igor Cicimov
--000e0cd7625e84018804749a8f17
Content-Type: text/plain; charset=ISO-8859-1
Do you have this statement included in your conf file for the CGI directory?
Options +ExecCGI
Cheers,
Igor
On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis
wrote:
> Hi,
> Newbie here -- my Apache2 install is downloading the .pl script I have
> instead of executing it as a CGI. How do I make it work as a CGI?
>
> As a secondary note -- is there a really good resource to understand how
> the apache conf files work? I see the apache documentation, but am having
> trouble getting some documentation on the big picture, answering questions
> like how to read and understand the conf file, what the general format is,
> and what is meant when things have 'allow,deny', etc. in them?
>
> Thanks,
> Matt
>
--000e0cd7625e84018804749a8f17
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Do you have this statement included in your conf file for the CGI dir=
ectory?
<Directory /what_ever_your_cgi_dir_is>
Options +ExecCGI
</Directory>
Cheers,
Igor
=3D"gmail_quote">On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis
=3D"ltr"><matthew.pettis@gma=
il.com> wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
Newbie here -- my Apache2 install is downloading the .p=
l script I have instead of executing it as a CGI. =A0How do I make it work =
as a CGI?
As a secondary note -- is there a really=
good resource to understand how the apache conf files work? =A0I see the a=
pache documentation, but am having trouble getting some documentation on th=
e big picture, answering questions like how to read and understand the conf=
file, what the general format is, and what is meant when things have '=
allow,deny', etc. in them?
Thanks,
Matt
--000e0cd7625e84018804749a8f17--
Re: Apache2 downloads .pl file instead of executes it
am 28.09.2009 05:07:10 von Igor Cicimov
--000e0cdf14b60318b204749a98f7
Content-Type: text/plain; charset=ISO-8859-1
Also put the handler statement in the same directory
AddHandler cgi-script .cgi .pl
so it looks like
Options +ExecCGI
AddHandler cgi-script .cgi .pl
or what ever extension you are using for the cgi programs.
On Mon, Sep 28, 2009 at 1:04 PM, Igor Cicimov wrote:
> Do you have this statement included in your conf file for the CGI
> directory?
>
>
> Options +ExecCGI
>
>
> Cheers,
> Igor
>
>
> On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis
> > wrote:
>
>> Hi,
>> Newbie here -- my Apache2 install is downloading the .pl script I have
>> instead of executing it as a CGI. How do I make it work as a CGI?
>>
>> As a secondary note -- is there a really good resource to understand how
>> the apache conf files work? I see the apache documentation, but am having
>> trouble getting some documentation on the big picture, answering questions
>> like how to read and understand the conf file, what the general format is,
>> and what is meant when things have 'allow,deny', etc. in them?
>>
>> Thanks,
>> Matt
>>
>
>
--000e0cdf14b60318b204749a98f7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Also put the handler statement in the same directory
AddHandl=
er cgi-script .cgi .pl
so it looks like
<Dir=
ectory /what_ever_your_cgi_dir_is>
Options +ExecCGI
AddHandler cgi-script .cg=
i .pl
</Directory>
or what ever extension you are usi=
ng for the cgi programs.
On Mon, Sep =
28, 2009 at 1:04 PM, Igor Cicimov
<
cicimov@gmail.com">icicimov@gmail.com> wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do you have=
this statement included in your conf file for the CGI directory?
&l=
t;Directory /what_ever_your_cgi_dir_is>
Options +ExecCGI
</Directory>
Cheers,
>Igor
uote">On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis
&l=
t;matthew.pet=
tis@gmail.com> wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,
Newbie here -- my Apache2 install is downloading the .p=
l script I have instead of executing it as a CGI. =A0How do I make it work =
as a CGI?
As a secondary note -- is there a really=
good resource to understand how the apache conf files work? =A0I see the a=
pache documentation, but am having trouble getting some documentation on th=
e big picture, answering questions like how to read and understand the conf=
file, what the general format is, and what is meant when things have '=
allow,deny', etc. in them?
Thanks,
Matt
--000e0cdf14b60318b204749a98f7--
Re: Apache2 downloads .pl file instead of executes it
am 28.09.2009 05:18:03 von Matt_Pettis
--0015175770eae571dc04749abe01
Content-Type: text/plain; charset=ISO-8859-1
This worked, thank you!
On Sun, Sep 27, 2009 at 10:07 PM, Igor Cicimov wrote:
> Also put the handler statement in the same directory
>
> AddHandler cgi-script .cgi .pl
>
> so it looks like
>
>
> Options +ExecCGI
> AddHandler cgi-script .cgi .pl
>
>
> or what ever extension you are using for the cgi programs.
>
>
>
> On Mon, Sep 28, 2009 at 1:04 PM, Igor Cicimov wrote:
>
>> Do you have this statement included in your conf file for the CGI
>> directory?
>>
>>
>> Options +ExecCGI
>>
>>
>> Cheers,
>> Igor
>>
>>
>> On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis <
>> matthew.pettis@gmail.com> wrote:
>>
>>> Hi,
>>> Newbie here -- my Apache2 install is downloading the .pl script I have
>>> instead of executing it as a CGI. How do I make it work as a CGI?
>>>
>>> As a secondary note -- is there a really good resource to understand how
>>> the apache conf files work? I see the apache documentation, but am having
>>> trouble getting some documentation on the big picture, answering questions
>>> like how to read and understand the conf file, what the general format is,
>>> and what is meant when things have 'allow,deny', etc. in them?
>>>
>>> Thanks,
>>> Matt
>>>
>>
>>
>
--
One of the penalties for refusing to participate in politics is that you end
up being governed by your inferiors.
-- Plato
It is from the wellspring of our despair and the places that we are broken
that we come to repair the world.
-- Murray Waas
--0015175770eae571dc04749abe01
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
This worked, thank you!
On Sun, Sep 27, 2=
009 at 10:07 PM, Igor Cicimov
<
mov@gmail.com">icicimov@gmail.com> wrote:
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex;">
Also put the handler statement in the same directory
AddHandl=
er cgi-script .cgi .pl
so it looks like
"im">
<Directory /what_ever_your_cgi_dir_is>
Options +ExecCGI
AddHandler cgi-scri=
pt .cgi .pl
</Directory>
or what ever extension you are usi=
ng for the cgi programs.
class=3D"gmail_quote">On Mon, Sep 28, 2009 at 1:04 PM, Igor Cicimov
ir=3D"ltr"><
icic=
imov@gmail.com> wrote:
04, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Do you have this =
statement included in your conf file for the CGI directory?
<Dire=
ctory /what_ever_your_cgi_dir_is>
Options +ExecCGI
</Directory>
Cheers,
>Igor
On Sat,=
Sep 26, 2009 at 12:57 PM, Matthew Pettis
<
mailto:matthew.pettis@gmail.com" target=3D"_blank">matthew.pettis@gmail.com=
> wrote:
04, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Hi,
Newbie here -- my Apache2 install is downloading the .p=
l script I have instead of executing it as a CGI. =A0How do I make it work =
as a CGI?
As a secondary note -- is there a really=
good resource to understand how the apache conf files work? =A0I see the a=
pache documentation, but am having trouble getting some documentation on th=
e big picture, answering questions like how to read and understand the conf=
file, what the general format is, and what is meant when things have '=
allow,deny', etc. in them?
Thanks,
Matt
--
One of the =
penalties for refusing to participate in politics is that you end up being =
governed by your inferiors.
-- Plato
It is from the wellspring of=
our despair and the places that we are broken that we come to repair the w=
orld.
-- Murray Waas
--0015175770eae571dc04749abe01--